//保存系统设置 {"选项":"音效开启","回调":true}
// @ts-ignore
export async function execute(client_id,message_json) {
    let characters = G.Characters.get_current_login_characters(client_id);
    let type = message_json["选项"];
    let value = message_json["回调"];
    characters["系统设置"][type] = value;
    if(type === "显示变身卡造型" && value && characters["变身数据"]){
        ClientUtils.send_client_message(client_id,12);
        G.MapUtils.update_model(characters["id"], characters["变身数据"]);
    }
    G.Characters.refrush_characters_data(characters);
}